<include file="Public:header"/>
<div id="main-content" class="content">
    <ul class="breadcrumb">
        <li><a href="/">首页</a></li>
        <li class="active"><a href="">模块管理</a></li>
        <li class="active">参数列表</li>
    </ul>
    <div class="page-header clearfix">
        <h3>参数管理</h3>
        <ul class="nav nav-tabs">    
            <li>
                <a href="{:U('Parameter/parameterList')}">参数列表</a>
            </li>
            <li class="active">
                <a href="{:U('Parameter/addParameter')}">编辑参数</a>
            </li>
        </ul>
    </div>

    <div class="content-box-table">
        <form action="{:U('Parameter/editParameter')}" method="post" class="form-horizontal" role="form">
            <input type="hidden" value="{$parameter_find['pa_id']}" name="pa_id" />
            <div class="form-group">
                <label for="pa_name" class="col-sm-3 control-label">参数名称：</label>
                <div class="col-sm-9">
                  <input type="text" class="form-control" id="pa_name" name="pa_name" value="{$parameter_find['pa_name']}">
                </div>
            </div>
            <div class="form-group">
                <label for="pa_desc" class="col-sm-3 control-label">参数描述：</label>
                <div class="col-sm-9">
                  <input type="text" class="form-control" id="pa_desc" name="pa_desc" value="{$parameter_find['pa_desc']}">
                </div>
            </div>
            <div class="form-group">
                <label for="pa_remark" class="col-sm-3 control-label">相关备注：</label>
                <div class="col-sm-9">
                  <input type="text" class="form-control" id="pa_remark" name="pa_remark" value="{$parameter_find['pa_remark']}">
                </div>
            </div>
            <div class="form-group">
                <label for="mo_remark" class="col-sm-3 control-label">所属方法：</label>
                <div class="col-sm-9">
                    <select name="f_id">
                        <volist name="function_list" id="vo">
                            <option value="{$vo['f_id']}">{$vo.f_name}</option>
                        </volist>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label for="mo_remark" class="col-sm-3 control-label">是否为空：</label>
                <div class="col-sm-9">
                    <div class="checkbox">
                        <input type="radio" name="is_null" value="0" <if condition="$parameter_find['is_null'] eq 0">checked</if> />&nbsp;是&nbsp;&nbsp;
                         <input type="radio" name="is_null" value="1" <if condition="$parameter_find['is_null'] eq 1">checked</if>/>&nbsp;否
                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-3 col-sm-9">
                  <button type="submit" class="btn btn-default btn-primary">确认修改</button>
                </div>
            </div>
        </form>
    </div>


</div>

<include file="Public:footer"/>